<?php

namespace app\api\validate;

use think\Validate;

class Tpl extends Validate
{
    protected $rule = [
        ['types',       'require|number|in:1,2',  '类型有误|类型有误|类型有误'],
    ];

    protected $scene = [
        'slogan'           => ['types'],
    ];
}
